import  { createStore } from 'redux';
import reducer from './reducer'

//将整个数据打包好 扔出去
const store=createStore(
  reducer,
  window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
);
export default store;